package system

import (
	"5title_gin/internal/api/v1/system"

	"github.com/gin-gonic/gin"
)

func RoleRouter(privateAPI *gin.RouterGroup, publicAPI *gin.RouterGroup) {

	app := system.NewRoleAPI()

	roleAPI := privateAPI.Group("system/role")

	{
		roleAPI.GET("/list", app.GetRoleList)
		roleAPI.GET("/getRoleOptions", app.GetRoleOptions)
	}
}
